{include file="common/common"}
<!-- /Page Sidebar -->
<!-- Page Content -->
<div class="page-content">
    <!-- Page Breadcrumb -->
    <div class="page-breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <a href="#">系统</a>
            </li>
            <li>
                <a href="{:url('lst')}">管理员管理</a>
            </li>
            <li class="active">修改管理员</li>
        </ul>
    </div>
    <!-- /Page Breadcrumb -->

    <!-- Page Body -->
    <div class="page-body">

        <div class="row">
            <div class="col-lg-12 col-sm-12 col-xs-12">
                <div class="widget">
                    <div class="widget-header bordered-bottom bordered-blue">
                        <span class="widget-caption">修改管理员</span>
                    </div>
                    <div class="widget-body">
                        <div id="horizontal-form">
                            <form class="form-horizontal" role="form" action="{:url('edit',array('id'=>$data.id))}" method="post">
                                <div class="form-group">
                                    <label for="username" class="col-sm-2 control-label no-padding-right">管理员id</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" placeholder="" name="id" required="" type="text" value="{$data.id}" disabled ='disabled'>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="username" class="col-sm-2 control-label no-padding-right">管理员</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" placeholder="" name="name"  type="text" value="{$data.name}">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label for="group_id" class="col-sm-2 control-label no-padding-right">管理员密码</label>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control"  placeholder="" name="password">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="group_id" class="col-sm-2 control-label no-padding-right">所属用户组</label>
                                    <div class="col-sm-6">
                                        <select name="group_id">
                                            {volist name="authGroupRes" id="authGroup"}
                                            <option value="{$authGroup.id}" {eq name="$authGroup.id" value="$group_id.group_id"}selected="selected"{/eq} >{$authGroup.title}</option>
                                            {/volist}
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-offset-2 col-sm-10">
                                        <button type="submit" class="btn btn-default">修改信息</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
    <!-- /Page Body -->
</div>
<!-- /Page Content -->
</div>
</div>

<!--Basic Scripts-->
<script src="__static__/style/jquery_002.js"></script>
<script src="__static__/style/bootstrap.js"></script>
<script src="__static__/style/jquery.js"></script>
<!--Beyond Scripts-->
<script src="__static__/style/beyond.js"></script>



</body></html>